.component_mask {
    position: fixed;
    z-index: 9998;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .3);
}

.toast_mask {
    position: fixed;
    z-index: 9998;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0);
}

.component_toast {
    position: relative;
    top: 30%;
    margin: 0 auto;
    min-width: 120px;
    max-width: 200px;
    padding: 10px;
    background: rgba(17, 17, 17, 0.7);
    text-align: center;
    border-radius: 5px;
    color: #fff;
}

.component_dialog {
    position: fixed;
    z-index: 9999;
    min-width: 300px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #fafafc;
    text-align: center;
    border-radius: 3px;
}

.component_dialog_confirm .component_dialog .component_dialog_hd {
    padding: 1.2em 20px .5em
}

.component_dialog_confirm .component_dialog .component_dialog_bd {
    text-align: left
}

.component_dialog_hd {
    padding: 1.2em 20px .5em;
}

.component_dialog_title {
    font-weight: 400;
    font-size: 14px;
}

.component_dialog_bd {
    padding: 0 20px;
    font-size: 15px;
    color: #888;
    word-wrap: break-word;
    word-break: break-all;
}

.component_dialog_ft {
    position: relative;
    line-height: 42px;
    margin-top: 20px;
    font-size: 17px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.component_dialog_ft .component_btn {
    display: block;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    color: #999;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border-left: 1px solid #d5d5d6;
}

.component_dialog_ft .component_btn:first-child {
    border: none;
}

.component_dialog_ft .component_btn:active {
    background-color: #eee;
}

.component_dialog_ft:after {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    border-top: 1px solid #d5d5d6;
    color: #d5d5d6;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5)
}

.component_dialog_ft .confirm {
    color: #000;
}

.component_dialog_ft .cancel {
    color: #000;
}

.component_btn_dialog.default {
    color: #353535
}

.component_btn_dialog.primary {
    color: #0bb20c
}